<template>
  <section class="container">
    <div>
      <h1 class="title">
        nuxt2ss
      </h1>
      <!--标签路由-->
      <NuxtLink :to="'/user'">
        去用户
      </NuxtLink>
      <div @click="links">点击路由跳转</div>
    </div>
  </section>
</template>

<script>

  export default {
    data(){
      return{}
    },
    methods:{
      links(){
        console.log('ok...')
        this.$router.push({path:'/user',query:{a:'1'}})
      }
    }
  }
</script>

<style>

</style>
